//
//  LeverObject.h
//  StarBugs
//
//  Created by ?? ? on 6/12/12.
//  Copyright 2012 antisword@playorca.com. All rights reserved.
//

#ifndef __LeverObject_h__
#define __LeverObject_h__

#include "Object/ObjectSprite.h"


class LeverObject : public ObjectSprite
{
private:
    cocos2d::CCSprite *lever;
    bool isEnable;
public:
    ~LeverObject();
    LeverObject(int type);
    
    virtual void setBodyAngle(bool isInv);
    virtual void setBody(b2World* _world);
    virtual void resetObstacle();
    
    bool getIsEnable(){return (isEnable == true);};
    void setRun(int type);
};

#endif//__NORMALOBSTACLE_H__